

package com.kimo.shop.delivery.comment.param;

import com.kimo.shop.bean.model.OrderItem;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author kimo-taozhouchuan
 */
@Data
public class DeliveryOrderItemParam {

	@NotBlank(message="订单号不能为空")
	@ApiModelProperty(value = "订单号",required=true)
	private String orderNumber;

	@NotBlank(message="快递公司id不能为空")
	@ApiModelProperty(value = "快递公司",required=true)
	private Long dvyId;

	@NotBlank(message="物流单号不能为空")
	@ApiModelProperty(value = "物流单号",required=true)
	private String dvyFlowId;

	@NotBlank(message="发货方式不能为空")
	@ApiModelProperty(value = "发货方式",required=true)
	private Integer deliveryType;

	private List<OrderItem> selectOrderItems;
}
